package com.starlink.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.starlink.common.domain.BaseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel("商城书籍售后记录响应模型")
public class MallBooksRefundsVO extends BaseVO implements Serializable {
    @ApiModelProperty("订单ID")
    private Long mallBooksOrderId;
    @ApiModelProperty("书籍ID")
    private Long mallBooksId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("退款时间")
    private Date refundDate;
    @ApiModelProperty("售后类型 0退货 1换货")
    private Integer goodsServiceType;
    @ApiModelProperty("售后原因")
    private String refundReason;
    @ApiModelProperty("附件")
    private String serviceAnnex;
    @ApiModelProperty("售后状态")
    private String status;
}
